home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / QuickTime / JPEG Sample / Headers / Global.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-05  |  1.5 KB  |  40 lines  |  [TEXT/CWIE]

  1. /*************************************************************************************
  2. #
  3. #        Global.h
  4. #
  5. #        This file contains the global definitions
  6. #
  7. #        Author(s):     Michael Marinkovich & Guillermo Ortiz
  8. #                    marink@apple.com
  9. #
  10. #        Modification History: 
  11. #
  12. #            4/3/96        MWM     Initial coding                     
  13. #
  14. #        Copyright © 1992-96 Apple Computer, Inc., All Rights Reserved
  15. #
  16. #
  17. #        You may incorporate this sample code into your applications without
  18. #        restriction, though the sample code has been provided "AS IS" and the
  19. #        responsibility for its operation is 100% yours.  However, what you are
  20. #        not permitted to do is to redistribute the source as "DSC Sample Code"
  21. #        after having made changes. If you're going to re-distribute the source,
  22. #        we require that you make it clear in the source that the code was
  23. #        descended from Apple Sample Code, but that you've made changes.
  24. #
  25. *************************************************************************************/
  26.  
  27. #include <Drag.h>
  28.  
  29. AEEventHandlerUPP    gAEOpenAppUPP;                    // hold on to these UPP's so we
  30. AEEventHandlerUPP    gAEQuitAppUPP;                    // can ensure they are disposed of
  31. AEEventHandlerUPP    gAEOpenDocUPP;                    // properly when we quit
  32. AEEventHandlerUPP    gAEPrintDocUPP;
  33. Boolean             gHasDMTwo;                        // is DM 2.0 available?
  34. Boolean             gInBackground = false;            // are we in the background?
  35. Boolean                gDone = false;                    // app is done flag        
  36. Boolean                gHasDrag;                        // we have Drag Manager?
  37. Boolean                gHasAbout;                        // do we have an about box showing?
  38. short                gWindCount;                        // window counter for new windows
  39.  
  40.